from fontTools.ttLib.ttFont import TTFont

# ttf to xml
# font = TTFont('../static/css/woff/movie.woff')
# font.saveXML('../static/css/xml/movie.xml')

# xml to ttf
font = TTFont()
font.importXML('../static/css/xml/movie.xml')
font.save('../static/css/ttf/movie.ttf')